package com.share.finance.asset.sjd.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.share.finance.asset.sjd.model.db.UserBindCard;
import com.share.finance.asset.sjd.model.vo.BindCardVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author author
 * @since 2023-09-08
 */
public interface IUserBindCardService extends IService<UserBindCard> {
    int bindCard(BindCardVo req);

    List<UserBindCard> listByUserId(String userId, String bizCode);

    Map<String, List<UserBindCard>> listByUserIds(List<String> userIdList, String bizCode);

    UserBindCard getByUserIdAndBizCode(String userId, String bizCode);
}
